home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part1 / 6997 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  938 b 

  1. Path: nntp0.brunel.ac.uk!usenet
  2. From: Francesco Fantauzzi <mapgfgf@brunel.ac.uk>
  3. Newsgroups: comp.lang.c++,comp.lang.c
  4. Subject: Increasing stack size - HELP!
  5. Date: 20 Feb 1996 11:58:09 GMT
  6. Organization: Brunel University
  7. Message-ID: <4gcd0h$8rf@izar.brunel.ac.uk>
  8. NNTP-Posting-Host: maths-pc-125.brunel.ac.uk
  9. Mime-Version: 1.0
  10. Content-Type: text/plain; charset=us-ascii
  11. Content-Transfer-Encoding: 7bit
  12. X-Mailer: Mozilla 1.22 (Windows; I; 16bit)
  13.  
  14. Hi All!
  15.  
  16. I'm using Borland C++ 4.0. I'm stuck 'cause, when I run my program, it 
  17. stops with a run-time error: "STACK OVERFLOW!". 
  18.  
  19. I checked the stack size (with stackavail()) and it's actually too small. 
  20. How can I tell the compiler that I would like a larger stack, overriding 
  21. the default size? I'm sure there's a way: I did it years ago, but have 
  22. forgotten it. 
  23.  
  24. BTW, I'm writing a plain MS-DOS application with the compact memory 
  25. model.
  26.  
  27. Thanks for any help.
  28.  
  29. Francesco G. Fantauzzi
  30.  
  31.  
  32.